Bug 37 - Segmentation fault on loading gig
Summary: Segmentation fault on loading gig
Status: CLOSED DUPLICATE of bug 36
Alias: None
Product: LinuxSampler
Classification: Unclassified
Component: gig::Engine (show other bugs)
Version: 0.3.3
Hardware: PC Linux
: P2 normal
Assignee: Christian Schoenebeck
URL:
Depends on:
Blocks:
 
Reported: 2006-08-25 11:24 CEST by Cezar
Modified: 2007-10-11 00:57 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cezar 2006-08-25 11:24:21 CEST
Hello,

I am runing linuxsampler on Ubuntu Dapper AMD64 laptop with 1GB RAM.

when trying to load a .gig file I got segafult. also before the segfault, I've
tryed some other .gigs that LS couldn't load saying "Failed to load instrument,
cause: Unknown exception while trying to parse gig file."

I've included the whole session. This was done with netcat, so no QSampler or
JSampler was used.

$ linuxsampler
LinuxSampler 0.3.3
Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck
Copyright (C) 2005 Christian Schoenebeck
Detected features: disabled at compile time
Creating Sampler...OK
Registered MIDI input drivers: ALSA
Registered audio output drivers: ALSA,JACK
Starting LSCP network server (0.0.0.0:8888)...OK
LinuxSampler initialization completed. :-)

LSCPServer: Client connection established on socket:4.
LSCPServer: Client connection terminated on socket:4.
LSCPServer: Client connection established on socket:4.
LSCPServer: Client connection terminated on socket:4.
LSCPServer: Client connection established on socket:4.
LSCPServer: Client connection terminated on socket:4.
LSCPServer: Client connection established on socket:4.
LSCPServer: Client connection terminated on socket:4.
LSCPServer: Client connection established on socket:4.
LSCPServer: Client connection terminated on socket:4.
LSCPServer: Client connection established on socket:4.
LSCPServer: Client connection terminated on socket:4.
LSCPServer: Client connection established on socket:4.
LSCPServer: Client connection terminated on socket:4.
LSCPServer: Client connection established on socket:4.
LSCPServer: Client connection terminated on socket:4.
LSCPServer: Client connection established on socket:4.
LSCPServer: Client connection terminated on socket:4.
LSCPServer: Client connection established on socket:4.
LSCPServer: Client connection terminated on socket:4.
LSCPServer: Client connection established on socket:8.
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
Invalid sampler channel number 0
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
No engine type assigned to sampler channel yet
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
No audio output device connected to sampler channel
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
There is no audio output device with index 1
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
Starting disk thread...OK
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
Loading gig file '/home/cezar/audio/gig/other/loops/Processor2140.gig'...OK
Loading gig instrument...OK
Caching initial samples...OK
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
Freeing gig file from memory...OK
Loading gig file '/home/cezar/audio/gig/other/pianos/GrandPiano.gig'...OK
Loading gig instrument...OK
Caching initial samples...OK
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
Freeing gig file from memory...OK
Loading gig file '/home/cezar/audio/gig/other/guitars/damiensfunkyguitar.gig'...
OK
Loading gig instrument...OK
Caching initial samples...OK
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
Freeing gig file from memory...OK
Loading gig file '/home/cezar/audio/gig/CoolVibes.gig'...OK
Loading gig instrument...OK
Caching initial samples...gig::Engine error: Failed to load instrument, cause: U
nknown exception while trying to parse gig file.
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
Loading gig file '/home/cezar/audio/gig/SilkRoad/Percussio/Bowls.gig'...gig::Eng
ine error: Failed to load instrument, cause: Can't open "/home/cezar/audio/gig/S
ilkRoad/Percussio/Bowls.gig"
LSCPServer: Client connection terminated on socket:8.
LSCPServer: Client connection established on socket:8.
>>> FATAL ERROR: Segmentation fault (SIGSEGV) occured! <<<
Showing stack trace...
No debugger found
Using host libthread_db library "/lib/libthread_db.so.1".
Attaching to program: /usr/local/bin/linuxsampler, process 13233
Reading symbols from /usr/local/lib/linuxsampler/liblinuxsampler.so.0...done.
Loaded symbols for /usr/local/lib/linuxsampler/liblinuxsampler.so.0
Reading symbols from /usr/local/lib/libgig.so.2...done.
Loaded symbols for /usr/local/lib/libgig.so.2
Reading symbols from /usr/lib/libjack-0.100.0.so.0...done.
Loaded symbols for /usr/lib/libjack-0.100.0.so.0
Reading symbols from /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 46912512849984 (LWP 13233)]
[New Thread 1115703648 (LWP 13426)]
[New Thread 1098918240 (LWP 13282)]
[New Thread 1090525536 (LWP 13271)]
[New Thread 1082132832 (LWP 13234)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
0x00002aaaab8f5785 in nanosleep () from /lib/libc.so.6
(gdb) --- Stacktrace
#0  0x00002aaaab8f5785 in nanosleep () from /lib/libc.so.6
#1  0x00002aaaab8f55f0 in sleep () from /lib/libc.so.6
#2  0x000000000040256c in main (argc=1, argv=0x7ffffff0c708)
    at linuxsampler.cpp:138
--- Symbols
#0  0x0000000000000000 in ?? ()
 > > > >No symbol table info available.
---
Detaching from program: /usr/local/bin/linuxsampler, process 13233
Killing LinuxSampler...
Segmentation fault
Comment 1 Christian Schoenebeck 2006-10-20 12:41:43 CEST

*** This bug has been marked as a duplicate of 36 ***