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

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 5 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...