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 comment
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 comment
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 comment
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 comment
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.

  • Recent Status Updates

    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 0 replies
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...