Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#988 closed defect (fixed)

SIGSEGV: fScrollConstant (msg=0x87ea6b0) at ../../../source/tools/atlas/GameInterface/Handlers/CameraCtrlHandlers.cpp:66

Reported by: fabio Owned by:
Priority: Should Have Milestone: Alpha 8
Component: Atlas editor Keywords:
Cc: Patch:

Description

While using the editor I got the following Segmentation fault:

$ ./0ad -editor
[Thread debugging using libthread_db enabled]
TIMER| LoadDLL: 1.10503 s
[New Thread 0xb5befb70 (LWP 2872)]
Cache: 200 (total: 1493) MiB
[New Thread 0xa7cdfb70 (LWP 2873)]
TIMER| InitVfs: 4.095 ms
TIMER| InitScripting: 3.27695 ms
TIMER| CONFIG_Init: 19.3886 ms
[New Thread 0xa6effb70 (LWP 2874)]
[New Thread 0xa66feb70 (LWP 2875)]
[New Thread 0xa4624b70 (LWP 2876)]
r300: DRM version: 2.9.0, Name: ATI RV530, ID: 0x71c5, GB: 1, Z: 2
r300: GART size: 509 MB, VRAM size: 256 MB
r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: YES
APIC: all zero
TIMER| RunHardwareDetection: 61.2039 ms
[New Thread 0xa3c3cb70 (LWP 2877)]
TIMER| InitRenderer: 11.5959 ms
TIMER| ps_console: 38.365 ms
TIMER| ps_lang_hotkeys: 1.27956 ms
TIMER| common/emptyinit.xml: 28.337 ms
GAME STARTED, ALL INIT COMPLETE
Mesa: User error: GL_INVALID_VALUE in glScissor
GL_INVALID_VALUE
OpenGL error(s) occurred: 0501
Mesa: User error: GL_INVALID_VALUE in glOrtho
ERROR: CRenderer::EndFrame: GL errors occurred
TIMER| shutdown actor stuff: 2.863 us
TIMER| shutdown TexMan: 2.934 us
[Thread 0xa3c3cb70 (LWP 2877) exited]
TIMER| shutdown Renderer: 4.99875 ms
TIMER| shutdown SDL: 641.912 us
TIMER| shutdown UserReporter: 1.956 us
TIMER| shutdown ScriptingHost: 536.591 us
TIMER| shutdown ConfigDB: 1.955 us
TIMER| resource modules: 15.4666 ms
TIMER TOTALS (9 clients)
-----------------------------------------------------
  xml_validation: 43.1689 Mc (19x)
  tc_ShaderValidation: 29.8825 Mc (17x)
  tc_pool_alloc: 25.0317 Mc (2409x)
  tc_linkProgram: 0 c (0x)
  tc_compileShader: 0 c (0x)
  tc_transform: 2809.59 kc (126x)
  tc_plain_transform: 858.286 kc (126x)
  tc_dds_transform: 1504.18 kc (378x)
  tc_png_decode: 28.9777 Mc (16x)
-----------------------------------------------------
TIMER| shutdown misc: 594.838 us

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5befb70 (LWP 2872)]
fScrollConstant (msg=0x87ea6b0) at ../../../source/tools/atlas/GameInterface/Handlers/CameraCtrlHandlers.cpp:66
66		if (g_Game->GetView()->GetCinema()->IsPlaying())
Undefined command: "".  Try "help".
Kill the program being debugged? (y or n) [answered Y; input not from terminal]

I am however unable to reproduce it and it may be related to #987.

Change History (6)

comment:1 by historic_bruno, 13 years ago

Is it reproducible, and can you use gdb to get the call stack?

comment:2 by fabio, 13 years ago

Unfortunately I am unable to reproduce it :(. I reported it anyway to avoid losing the information. I'll report more info if I'll encounter it again.

comment:3 by historic_bruno, 13 years ago

Milestone: Alpha 8Backlog

comment:4 by infyquest, 13 years ago

this is easily replicable in linux. steps: 1) run the game

./pyrogenesis

2) open the map editor from the game menus 3) close the map editor

It will show that program core dumped

comment:5 by ben, 13 years ago

Resolution: fixed
Status: newclosed

(In [10457]) Fixes crash in Atlas camera handlers, focus loss causes a scroll action, and seg fault if game not initialized. Fixes #988. Fixes particles lingering in actor viewer when switching actors, by clearing unattached particle emitters.

comment:6 by historic_bruno, 13 years ago

Milestone: BacklogAlpha 8
Note: See TracTickets for help on using tickets.