Page 1 of 1

celestia crash (SIGABRT)

Posted: 04.04.2008, 09:31
by ajacoutot
Hello.

I'm hacing a trouble starting celestia-1.5.0 under OpenBSD/amd64.
Previous versions seemed to work fine.

Front-End: GTK
Use Cairo: yes
Use Lua: yes
Use Theora: yes

If you need more info, let me know...

It looks like a stack overflow or something...
Any idea what could be wrong?

Code: Select all

(gdb) run
Starting program: /usr/local/bin/celestia
Initializing ARB vertex programs . . .
Loading ARB vertex program: shaders/diffuse_arb.vp
Loading ARB vertex program: shaders/specular_arb.vp
Loading ARB vertex program: shaders/haze_arb.vp
Loading ARB vertex program: shaders/bumpdiffuse_arb.vp
Loading ARB vertex program: shaders/bumphaze_arb.vp
Loading ARB vertex program: shaders/shadowtex_arb.vp
Loading ARB vertex program: shaders/diffuse_texoff_arb.vp
Loading ARB vertex program: shaders/rings_arb.vp
Loading ARB vertex program: shaders/ringshadow_arb.vp
Loading ARB vertex program: shaders/night_arb.vp
Loading ARB vertex program: shaders/glossmap_arb.vp
Loading ARB vertex program: shaders/diffuse2_arb.vp
Loading ARB vertex program: shaders/haze2_arb.vp
Loading ARB vertex program: shaders/diffuse_texoff2_arb.vp
Loading ARB vertex program: shaders/specular2_arb.vp
Loading ARB vertex program: shaders/night2_arb.vp
Loading ARB vertex program: shaders/star_arb.vp
Loading ARB vertex program: shaders/multishadow_arb.vp
Loading ARB vertex program: shaders/texphong_arb.vp
Loading ARB vertex program: shaders/texphong_alpha_arb.vp
Loading ARB vertex program: shaders/ell_galaxy_arb.vp
All ARB vertex programs loaded successfully.
Initializing NV fragment programs . . .
Loading NV fragment program: shaders/shadow_on_rings_nv.fp
Loading NV fragment program: shaders/eclipse1_nv.fp
Loading NV fragment program: shaders/eclipse2_nv.fp
Loading NV fragment program: shaders/diffuse_nv.fp
Loading NV fragment program: shaders/bumpdiffuse_nv.fp
Loading NV fragment program: shaders/texphong_nv.fp
Loading NV fragment program: shaders/texphong_alpha_nv.fp
All NV fragment programs loaded successfully.
render path: 3

Program received signal SIGABRT, Aborted.
0x0000000042479dea in kill () from /usr/lib/libc.so.44.0
(gdb) bt
#0  0x0000000042479dea in kill () from /usr/lib/libc.so.44.0
#1  0x000000004249cd80 in __stack_smash_handler (
    func=0x68f280 "virtual void PointStarRenderer::process(const Star&, float, float)", damaged=6)
    at /usr/src/lib/libc/sys/stack_protector.c:89
#2  0x0000000000504296 in PointStarRenderer::process(Star const&, float, float) (this=0x7f7ffffd46f0,
    star=@0x522835e8, distance=7.90039536e-08, appMag=-38.2489548) at render.cpp:8013
#3  0x000000000053417a in StaticOctree<Star, float>::processVisibleObjects(OctreeProcessor<Star, float>&, Point           3<float> const&, Plane<float> const*, float, float) const (this=0x4e11cd00, processor=@0x7f7ffffd46f0,
    obsPosition=@0x7f7ffffd47f0, frustumPlanes=0x7f7ffffd4610, limitingFactor=8.36388779, scale=29.296875)
    at staroctree.cpp:116
#4  0x0000000000534140 in StaticOctree<Star, float>::processVisibleObjects(OctreeProcessor<Star, float>&, Point           3<float> const&, Plane<float> const*, float, float) const (this=0x4e11cc80, processor=@0x7f7ffffd46f0,
    obsPosition=@0x7f7ffffd47f0, frustumPlanes=0x7f7ffffd4610, limitingFactor=8.36388779, scale=58.59375)
    at staroctree.cpp:127
#5  0x0000000000534140 in StaticOctree<Star, float>::processVisibleObjects(OctreeProcessor<Star, float>&, Point           3<float> const&, Plane<float> const*, float, float) const (this=0x449c6f80, processor=@0x7f7ffffd46f0,
    obsPosition=@0x7f7ffffd47f0, frustumPlanes=0x7f7ffffd4610, limitingFactor=8.36388779, scale=117.1875)
    at staroctree.cpp:127
#6  0x0000000000534140 in StaticOctree<Star, float>::processVisibleObjects(OctreeProcessor<Star, float>&, Point           3<float> const&, Plane<float> const*, float, float) const (this=0x43abe2c0, processor=@0x7f7ffffd46f0,
    obsPosition=@0x7f7ffffd47f0, frustumPlanes=0x7f7ffffd4610, limitingFactor=8.36388779, scale=234.375)
    at staroctree.cpp:127
#7  0x0000000000534140 in StaticOctree<Star, float>::processVisibleObjects(OctreeProcessor<Star, float>&, Point           3<float> const&, Plane<float> const*, float, float) const (this=0x49c02d00, processor=@0x7f7ffffd46f0,
    obsPosition=@0x7f7ffffd47f0, frustumPlanes=0x7f7ffffd4610, limitingFactor=8.36388779, scale=468.75)
    at staroctree.cpp:127
#8  0x0000000000534140 in StaticOctree<Star, float>::processVisibleObjects(OctreeProcessor<Star, float>&, Point3<float> const&, Plane<float> const*, float, float) const (this=0x49c02c80, processor=@0x7f7ffffd46f0,
    obsPosition=@0x7f7ffffd47f0, frustumPlanes=0x7f7ffffd4610, limitingFactor=8.36388779, scale=937.5)
    at staroctree.cpp:127
#9  0x0000000000534140 in StaticOctree<Star, float>::processVisibleObjects(OctreeProcessor<Star, float>&, Point3<float> const&, Plane<float> const*, float, float) const (this=0x4aad8600, processor=@0x7f7ffffd46f0,
    obsPosition=@0x7f7ffffd47f0, frustumPlanes=0x7f7ffffd4610, limitingFactor=8.36388779, scale=1875)
    at staroctree.cpp:127
#10 0x0000000000534140 in StaticOctree<Star, float>::processVisibleObjects(OctreeProcessor<Star, float>&, Point3<float> const&, Plane<float> const*, float, float) const (this=0x46490f80, processor=@0x7f7ffffd46f0,
    obsPosition=@0x7f7ffffd47f0, frustumPlanes=0x7f7ffffd4610, limitingFactor=8.36388779, scale=3750)
    at staroctree.cpp:127
#11 0x0000000000534140 in StaticOctree<Star, float>::processVisibleObjects(OctreeProcessor<Star, float>&, Point3<float> const&, Plane<float> const*, float, float) const (this=0x46490b00, processor=@0x7f7ffffd46f0,
    obsPosition=@0x7f7ffffd47f0, frustumPlanes=0x7f7ffffd4610, limitingFactor=8.36388779, scale=7500)
    at staroctree.cpp:127
#12 0x0000000000534140 in StaticOctree<Star, float>::processVisibleObjects(OctreeProcessor<Star, float>&, Point3<float> const&, Plane<float> const*, float, float) const (this=0x46490a80, processor=@0x7f7ffffd46f0,
    obsPosition=@0x7f7ffffd47f0, frustumPlanes=0x7f7ffffd4610, limitingFactor=8.36388779, scale=15000)
    at staroctree.cpp:127
#13 0x000000000052cf0b in StarDatabase::findVisibleStars(OctreeProcessor<Star, float>&, Point3<float> const&, Quaternion<float> const&, float, float, float) const (this=0x41646480, starHandler=@0x7f7ffffd46f0,
    position=@0x7f7ffffd47f0, orientation=@0x6, fovY=0.157436222, aspectRatio=1.33333337,
    limitingMag=8.36388779) at stardb.cpp:514
---Type <return> to continue, or q <return> to quit---
#14 0x00000000005053f5 in Renderer::renderPointStars(StarDatabase const&, float, Observer const&) (
    this=0x44a73000, starDB=@0x41646480, faintestMagNight=8.36388779, observer=@0x46207c00) at render.cpp:8184
#15 0x00000000004f2707 in Renderer::render(Observer const&, Universe const&, float, Selection const&) (
    this=0x44a73000, observer=@0x46207c00, universe=@0x41646380, faintestMagNight=43233, sel=@0x7f7ffffd4ab0)
    at render.cpp:2339
#16 0x0000000000460779 in CelestiaCore::draw() (this=0x494d4800) at celestiacore.cpp:2423
#17 0x00000000004ad256 in glDrawFrame (app=0x4e7d9000) at glwidget.cpp:253
#18 0x000000004ca32855 in gtk_marshal_VOID__UINT_STRING () from /usr/local/lib/libgtk-x11-2.0.so.1200.7
#19 0x000000004c484bd4 in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.1400.3
#20 0x000000004c495406 in g_signal_emit_by_name () from /usr/local/lib/libgobject-2.0.so.1400.3
#21 0x000000004c4941a7 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.1400.3
#22 0x000000004c4946e3 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.1400.3
#23 0x000000004cb38711 in gtk_widget_send_expose () from /usr/local/lib/libgtk-x11-2.0.so.1200.7
#24 0x000000004ca30525 in gtk_main_do_event () from /usr/local/lib/libgtk-x11-2.0.so.1200.7
#25 0x000000004e8916e4 in gdk_window_clear_area_e () from /usr/local/lib/libgdk-x11-2.0.so.1200.7
#26 0x000000004e89180b in gdk_window_process_all_updates () from /usr/local/lib/libgdk-x11-2.0.so.1200.7
#27 0x000000004c9ac3b2 in gtk_container_set_reallocate_redraws () from /usr/local/lib/libgtk-x11-2.0.so.1200.7
#28 0x000000004e8788bd in gdk_threads_set_lock_functions () from /usr/local/lib/libgdk-x11-2.0.so.1200.7
#29 0x000000004651be8e in g_child_watch_add () from /usr/local/lib/libglib-2.0.so.1400.3
#30 0x0000000046518f83 in g_source_is_destroyed () from /usr/local/lib/libglib-2.0.so.1400.3
#31 0x0000000046519fc8 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.1400.3
#32 0x000000004651a29c in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.1400.3
#33 0x000000004651a799 in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.1400.3
#34 0x000000004ca2fd81 in gtk_main () from /usr/local/lib/libgtk-x11-2.0.so.1200.7
#35 0x000000000049e4c8 in main (argc=1, argv=0x7f7ffffd5478) at main.cpp:507

Re: celestia crash (SIGABRT)

Posted: 04.04.2008, 13:04
by symaski62
AMD64 32 ou 64 bits ?

Re: celestia crash (SIGABRT)

Posted: 04.04.2008, 13:07
by ajacoutot
amd64 64 bits