Jump to content
The Dark Mod Forums

crash assigning monster_clip texture


Recommended Posts

When I draw a new brush and press "s" for surface inspector, then select the "monster_clip" texture, and press "Apply", DR just crashes completely.

 

I haven't been able to find out more yet, as I need first to recompile gdb. But maybe someone recognizes that problem?

 

Latest SVN version just compiled.

 

Here is a log:

 

ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
open /dev/[sound/]dsp: Device or resource busy
[particles] Failed to parse examples.prt: DefTokeniser: Assertion failed: Required "particle", found "material"
[particles] Failed to parse weapons.prt: DefTokeniser: Assertion failed: Required "particle", found "material"
[eclassmgr] Warning: Entity class tdm_moveable_barrel_base specifies parent moveable_barrel_base which is not found.
[eclassmgr] Warning: Entity class damage_bfgfreq_cinematic specifies parent damage_bfgFreq which is not found.
[eclassmgr] Warning: Entity class damage_bfgsplash_cinematic specifies parent damage_bfgSplash which is not found.
[eclassmgr] Warning: Entity class damage_grenadesplash_inhand specifies parent damage_grenadeSplash which is not found.
[eclassmgr] Warning: Entity class impcoins specifies parent darkmod_item_coins_a which is not found.
[eclassmgr] Warning: Entity class intro_scientist specifies parent char_labcoat_young which is not found.
[shaders] materials/patd.mtr: Failed to parse "" (DefTokeniser: no more tokens)
[shaders] Missing shadername in materials/aaduffyTest.mtr
[shaders] Missing shadername in materials/sfx.mtr
[shaders] materials/shaderDemo.mtr: Failed to parse "skin" (DefTokeniser: Assertion failed: Required "{", found "heatHaze")
[skins] Warning: '}' found where shader name expected in skin: green_dchair
Illegal instruction (core dumped)

 

Besides that reproducible crash, I also get some sort of race condition when starting DR. In about every other case, DR brings up one of the XY windows garbled, or whenever you start DR and click something in the menu, it freezes. I do not think these are related, but something not being initalized properly could be the cause, too.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to post
Share on other sites
I can confirm that, it crashes in my Windows build too. Can you open a bug report for this, please, I'll fire up the debugger.

 

Save your time :)

 

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 47554315375408 (LWP 11662)]
0x000000000056d0c2 in ui::ShaderSelector::displayShaderInfo ()
(gdb) bt
#0  0x000000000056d0c2 in ui::ShaderSelector::displayShaderInfo ()
#1  0x000000000056eeeb in ui::ShaderChooser::shaderSelectionChanged ()
#2  0x000000000056b31c in ui::ShaderSelector::updateInfoTable ()
#3  0x000000000056b39c in ui::ShaderSelector::_onSelChange ()
#4  0x00002b4015e017da in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#5  0x00002b4015e11408 in ?? () from /usr/lib/libgobject-2.0.so.0
#6  0x00002b4015e12843 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#7  0x00002b4015e12a13 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#8  0x00002b4013a6993b in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x00002b4013a76445 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x00002b401398968d in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00002b4015e017da in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0x00002b4015e11a18 in ?? () from /usr/lib/libgobject-2.0.so.0
#13 0x00002b4015e12617 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#14 0x00002b4015e12a13 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#15 0x00002b4013a8713e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x00002b4013982c7d in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00002b4013983c91 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00002b4013e2a45c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#19 0x00002b401328fa14 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0x00002b401329285d in ?? () from /usr/lib/libglib-2.0.so.0
#21 0x00002b4013292b6a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#22 0x00002b4013984023 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00000000004d58c9 in main ()

 

Bug report will be ioopen in 2 minutes.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to post
Share on other sites
Bug report will be ioopen in 2 minutes.

 

http://bugs.angua.at/view.php?id=394

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to post
Share on other sites
I already found the issue, I accidentally passed std::string to to GTK instead of const char*.

 

edit: Fixed in SVN.

 

Sorry to waste your time with the bugreport then :(

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...