MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001611VCMILauncherpublic2013-12-04 15:172013-12-07 13:51
Reporterridge 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionno change required 
Platformi386OSUbuntuOS Version12.04.3
Product Version0.94 
Target VersionFixed in Version 
Summary0001611: Crash when starting
DescriptionTried using 0.94 and nightly build, always installed using ppa and apt-get install. It will always crash as one of below situations:
======
Starting...
Creating console 0
     Initialization: 0
     Data loading: 80
    Mod handler: 0
     Mod filesystems: 50
Basic initialization: 130
File CONFIG/SETTINGS is not a valid JSON file!
At line 1, position 0 error: Unexpected end of file!

Initialized logging system based on settings successfully.
Error: campaign movies was not found!
Error: campaign music was not found!
Loading settings: 140
VCMI 0.94 (client)
Note: SDL suggests to use 32 bpp instead of24 bpp
New screen flags: 0
    Initializing screen: 20
    Initializing video: 0
    Initializing minors: 0
[smk @ 0x9fbcfc0] max_analyze_duration reached
there is no soundcard
    Initializing sound: 10
Initializing screen and sound handling: 10
        Bonus type handler: 0
        General text handler: 10
        Hero handler: 0
        Artifact handler: 0
        Creature handler: 0
        Town handler: 0
        Object handler: 10
        Def information handler: 40
        Spell handler: 10
        Terrain view pattern handler: 0
        Template handler: 0
    Initializing handlers: 70
    Initializing content handler: 70 ms
    Parsing original game data: 30 ms
        VCMI essential files
        In The Wake of Gods
    Parsing mod data: 10 ms
    Loading original game data: 240 ms
        VCMI essential files
        In The Wake of Gods
    Loading mod data: 20ms
    Resolving identifiers: 20 ms
    Handlers post-load finalization: 0 ms
    All game content loaded in 390 ms
Initializing VCMI_Lib: 460
Segmentation fault (core dumped)
======
or
======
Starting...
Creating console 0
     Initialization: 0
     Data loading: 90
    Mod handler: 0
     Mod filesystems: 40
Basic initialization: 130
File CONFIG/SETTINGS is not a valid JSON file!
At line 1, position 0 error: Unexpected end of file!

Initialized logging system based on settings successfully.
Error: campaign movies was not found!
Error: campaign music was not found!
Loading settings: 140
VCMI 0.94 (client)
Note: SDL suggests to use 32 bpp instead of24 bpp
New screen flags: 0
    Initializing screen: 20
    Initializing video: 0
    Initializing minors: 0
[smk @ 0x8983fc0] max_analyze_duration reached
Segmentation fault (core dumped)
=======
Starting...
Creating console 0
     Initialization: 0
     Data loading: 80
    Mod handler: 0
     Mod filesystems: 60
Basic initialization: 140
File CONFIG/SETTINGS is not a valid JSON file!
At line 1, position 0 error: Unexpected end of file!

Initialized logging system based on settings successfully.
Error: campaign movies was not found!
Error: campaign music was not found!
Loading settings: 140
VCMI 0.94 (client)
Note: SDL suggests to use 32 bpp instead of24 bpp
New screen flags: 0
    Initializing screen: 20
    Initializing video: 0
    Initializing minors: 0
[smk @ 0x866d080] max_analyze_duration reached
Assertion 'm->state == STATE_PASSIVE' failed at pulse/mainloop.c:818, function pa_mainloop_prepare(). Aborting.
Aborted (core dumped)
======
Steps To Reproducejust run vcmiclient directly.
Additional Informationuname -a
Linux lingxiu 3.2.0-56-generic-pae 0000086-Ubuntu SMP Wed Oct 23 17:51:27 UTC 2013 i686 i686 i386 GNU/Linux
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0004162)
Ivan (developer)
2013-12-04 18:48

Crash happens during sound initialization.

Do you have sound in other applications?
(0004163)
ridge (reporter)
2013-12-05 00:29

Thanks for the reply, and Yes, I am able to play music with rthythmbox for example.
(0004167)
ridge (reporter)
2013-12-07 13:33

After some Ubuntu system package update, haven't change anything else, it works.
the output log like this:
Starting...
Creating console 0
     Initialization: 0
     Data loading: 100
    Mod handler: 0
     Mod filesystems: 60
Basic initialization: 160
Initialized logging system based on settings successfully.
Error: campaign movies was not found!
Error: campaign music was not found!
Loading settings: 180
VCMI 0.94 (client)
Note: SDL suggests to use 32 bpp instead of24 bpp
New screen flags: 2147483648
    Initializing screen: 20
    Initializing video: 0
    Initializing minors: 0
[smk @ 0xa278ae0] max_analyze_duration reached
there is no soundcard
    Initializing sound: 10
Initializing screen and sound handling: 10
        Bonus type handler: 10
        General text handler: 50
        Hero handler: 10
        Artifact handler: 0
        Creature handler: 0
        Town handler: 0
        Object handler: 10
        Def information handler: 80
        Spell handler: 20
        Terrain view pattern handler: 0
        Template handler: 0
    Initializing handlers: 180
    Initializing content handler: 70 ms
    Parsing original game data: 50 ms
        VCMI essential files
        In The Wake of Gods
    Parsing mod data: 0 ms
    Loading original game data: 270 ms
        VCMI essential files
        In The Wake of Gods
    Loading mod data: 30ms
    Resolving identifiers: 10 ms
    Handlers post-load finalization: 0 ms
    All game content loaded in 430 ms
Initializing VCMI_Lib: 620
Loading and transforming heroes' flags: 130
Screen handler: 140
    Main graphics: 210
Initializing game graphics: 0
Message handler: 10
Initialization of VCMI (together): 1050
Killing console...
Killing console... done!
Ending...

- Issue History
Date Modified Username Field Change
2013-12-04 15:17 ridge New Issue
2013-12-04 15:17 ridge Status new => assigned
2013-12-04 15:17 ridge Assigned To => Ivan
2013-12-04 18:48 Ivan Note Added: 0004162
2013-12-05 00:29 ridge Note Added: 0004163
2013-12-07 13:33 ridge Note Added: 0004167
2013-12-07 13:51 beegee Status assigned => closed
2013-12-07 13:51 beegee Assigned To Ivan =>
2013-12-07 13:51 beegee Resolution open => no change required

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean