2025-07-21 01:28 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003684Spring engineGeneralpublic2013-04-09 00:51
Reporterabma 
Assigned TojK 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version94.1.1+git 
Target VersionFixed in Version 
Summary0003684: crash in DataDirLocater.cpp:123 at start when install path contains "{...}"
Description(gdb) bt
#0 0x00007ffff67f3bdf in __GI_wordfree (pwordexp=0x7fffffffdd80) at wordexp.c:2236
#1 0x0000000000b13923 in DataDirLocater::SubstEnvVars (this=<optimized out>, in=...)
    at ../../rts/System/FileSystem/DataDirLocater.cpp:123
#2 0x0000000000b1464f in DataDirLocater::AddDir (this=0x1687280 <dataDirLocater>, dir=...)
    at ../../rts/System/FileSystem/DataDirLocater.cpp:153
0000003 0x0000000000b1488a in DataDirLocater::AddDirs (this=this@entry=0x1687280 <dataDirLocater>,
    dirs=...) at ../../rts/System/FileSystem/DataDirLocater.cpp:145
0000004 0x0000000000b14992 in DataDirLocater::AddPortableDir (
    this=this@entry=0x1687280 <dataDirLocater>)
    at ../../rts/System/FileSystem/DataDirLocater.cpp:264
0000005 0x0000000000b151e8 in DataDirLocater::LocateDataDirs (this=0x1687280 <dataDirLocater>)
    at ../../rts/System/FileSystem/DataDirLocater.cpp:403
#6 0x0000000000ae682a in SpringApp::ParseCmdLine (this=this@entry=0x7fffffffe270)
    at ../../rts/System/SpringApp.cpp:776
#7 0x0000000000ae8fcf in SpringApp::Initialize (this=this@entry=0x7fffffffe270)
    at ../../rts/System/SpringApp.cpp:164
#8 0x0000000000ae93b4 in SpringApp::Run (this=0x7fffffffe270, argc=1, argv=0x7fffffffe568)
    at ../../rts/System/SpringApp.cpp:1022
#9 0x0000000000abf759 in Run (argc=argc@entry=1, argv=argv@entry=0x7fffffffe568)
    at ../../rts/System/Main.cpp:66
0000010 0x0000000000abffa4 in main (argc=1, argv=0x7fffffffe568) at ../../rts/System/Main.cpp:151
(gdb) up
#1 0x0000000000b13923 in DataDirLocater::SubstEnvVars (this=<optimized out>, in=...)
    at ../../rts/System/FileSystem/DataDirLocater.cpp:123
123 ../../rts/System/FileSystem/DataDirLocater.cpp: Datei oder Verzeichnis nicht gefunden.
(gdb) print pwordexp
$1 = {we_wordc = 0, we_wordv = 0x7ffff678d580 <__GI___libc_malloc+96>, we_offs = 140733193388032}
(gdb)
Additional Informationused the current static x64 build

Spring 94.1.1-121-gd6b0e6b develop (ASIM GML OMP)
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0010418

abma (administrator)

Last edited: 2013-04-08 19:41

View 2 revisions

~/.springrc contains

SpringData = $HOME/.spring


likely a gcc 4.8.0 bug/"feature" as my locally compiled executable doesn't crash.

~0010419

abma (administrator)

ah... i've extracted the static build to

~/.spring/engine/{develop}94.1.1-121-gd6b0e6b/

my local compile crashes, too, when i rename the parent folder to {bla}

~0010423

abma (administrator)

https://github.com/spring/spring/commit/2bf5f2e49978fb858edf898ea47a921df7f93170 fixed it for me, thanks!
+Notes

-Issue History
Date Modified Username Field Change
2013-04-08 19:37 abma New Issue
2013-04-08 19:38 abma Note Added: 0010418
2013-04-08 19:41 abma Note Edited: 0010418 View Revisions
2013-04-08 19:41 abma Severity block => crash
2013-04-08 19:49 abma Note Added: 0010419
2013-04-08 19:53 abma Summary spring crashes in DataDirLocater.cpp:123 at start => crashes in DataDirLocater.cpp:123 at start when batch contains curly braces
2013-04-08 19:53 abma Summary crashes in DataDirLocater.cpp:123 at start when batch contains curly braces => crash in DataDirLocater.cpp:123 at start when install path contains "{...}"
2013-04-09 00:51 abma Note Added: 0010423
2013-04-09 00:51 abma Status new => resolved
2013-04-09 00:51 abma Resolution open => fixed
2013-04-09 00:51 abma Assigned To => jK
+Issue History