Bug 314305 - Crash when try to play module files (xm, it, mod, ...)
Summary: Crash when try to play module files (xm, it, mod, ...)
Status: RESOLVED FIXED
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-02 18:11 UTC by Lena Stöffler
Modified: 2016-06-06 01:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (3.88 KB, text/plain)
2015-08-26 09:01 UTC, techniksocke
Details
Sample impulse tracker file, that causes kaffeine to crash. Created with OpenMPT 1.25.02.00 for older Windows from a public domain midi file and a sound sample from OLPC. (443.63 KB, audio/it)
2015-10-08 10:59 UTC, techniksocke
Details
Sample mod file. Created analogously to the it file (94890). Sounds strange (with other players that are not crashing). However, should be a valid mod file. (267.02 KB, audio/mod)
2015-10-08 11:25 UTC, techniksocke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lena Stöffler 2013-02-02 18:11:28 UTC
Application: kaffeine-xbu (1.2.2 1.2.2)
KDE Platform Version: 4.8.5 (4.8.5) "release 2"
Qt Version: 4.8.1
Operating System: Linux 3.4.6-2.10-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Opened a xm file and instant crash.
On previous KDE Versions module files played like a charm. (KDE 4.7.X)
Now on KDE 4.8.X I got a crash.

Of course VLC, xmp are good alternatives, I only want to report this bug, so that you know about it.

The crash can be reproduced every time.

-- Backtrace:
Application: Kaffeine (kaffeine-xbu), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffa6af34780 (LWP 24987))]

Thread 8 (Thread 0x7ffa632f7700 (LWP 24989)):
#0  0x00007ffa71574c61 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffa7278d7b0 in metronom_sync_loop (this_gen=0x1c036d0) at metronom.c:889
#2  0x00007ffa71570e0e in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffa702ea2cd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7ffa5ca44700 (LWP 24990)):
#0  0x00007ffa702e214f in poll () from /lib64/libc.so.6
#1  0x00007ffa5dc2d08f in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007ffa5dc1e5fc in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007ffa5dc1ec59 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007ffa5dc1ed10 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007ffa5dc2d03f in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007ffa5d7d32d3 in ?? () from /usr/lib64/libpulsecommon-1.1.so
#7  0x00007ffa71570e0e in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffa702ea2cd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7ffa53ffe700 (LWP 24992)):
#0  0x00007ffa715748f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffa7279f7c3 in fifo_peek_int (blocking=1, fifo=0x1c3d630) at audio_out.c:360
#2  fifo_peek (fifo=0x1c3d630) at audio_out.c:400
#3  ao_loop (this_gen=0x1c1e4a0) at audio_out.c:1025
#4  0x00007ffa71570e0e in start_thread () from /lib64/libpthread.so.0
#5  0x00007ffa702ea2cd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7ffa50082700 (LWP 24993)):
#0  0x00007ffa71574c61 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffa72799709 in interruptable_sleep (this=this@entry=0x1d89b20, usec_to_sleep=usec_to_sleep@entry=1000) at video_out.c:1423
#2  0x00007ffa7279abe4 in video_out_loop (this_gen=0x1d89b20) at video_out.c:1621
#3  0x00007ffa71570e0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffa702ea2cd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7ffa4f498700 (LWP 24994)):
#0  0x00007ffa715748f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffa7279168b in fifo_buffer_get (fifo=0x1d8ecb0) at buffer.c:236
#2  0x00007ffa7279761d in video_decoder_loop (stream_gen=0x1d8d6b0) at video_decoder.c:148
#3  0x00007ffa71570e0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffa702ea2cd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ffa4eaca700 (LWP 24995)):
#0  0x00007ffa715748f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffa7279168b in fifo_buffer_get (fifo=0x1da8840) at buffer.c:236
#2  0x00007ffa727988cd in audio_decoder_loop (stream_gen=0x1d8d6b0) at audio_decoder.c:67
#3  0x00007ffa71570e0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffa702ea2cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ffa4e2c9700 (LWP 24996)):
#0  0x00007ffa715748f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffa727a173b in xine_event_wait (queue=queue@entry=0x1db56a0) at events.c:56
#2  0x00007ffa727a17de in listener_loop (queue_gen=0x1db56a0) at events.c:219
#3  0x00007ffa71570e0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffa702ea2cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffa6af34780 (LWP 24987)):
[KCrash Handler]
#5  CSoundFile::GetLength (this=0x0, bAdjust=false, bTotal=true) at snd_fx.cpp:23
#6  0x00007ffa5fd12705 in GetSongTime (this=0x0) at ../src/libmodplug/sndfile.h:612
#7  ModPlug_Seek (file=0x0, millisecond=0) at modplug.cpp:255
#8  0x00007ffa5ffdd062 in demux_mod_seek (this_gen=0x1dbf330, start_pos=<optimized out>, start_time=<optimized out>, playing=<optimized out>) at demux_mod.c:278
#9  0x00007ffa7278a53b in play_internal (start_time=0, start_pos=0, stream=0x1d8d6b0) at xine.c:1421
#10 xine_play (stream=0x1d8d6b0, start_pos=0, start_time=0) at xine.c:1484
#11 0x00000000004058f5 in _start ()

Reported using DrKonqi
Comment 1 techniksocke 2015-08-26 09:01:26 UTC
Created attachment 94219 [details]
New crash information added by DrKonqi

kaffeine-xbu (1.2.2 1.2.6) on KDE Platform 4.14.9 using Qt 4.8.6

- What I was doing when the application crashed:

I tried to play a .mod file (started Kaffeine with the .mod file as command line argument), which I had previously created using OpenMPT.

-- Backtrace (Reduced):
#5  0x00007f898242b236 in CSoundFile::GetLength(bool, bool) () at /usr/lib64/libmodplug.so.1
#6  0x00007f898245c666 in ModPlug_Seek () at /usr/lib64/libmodplug.so.1
#7  0x00007f89827a9082 in demux_mod_seek (this_gen=0x26242e0, start_pos=<optimized out>, start_time=<optimized out>, playing=<optimized out>) at demux_mod.c:278
#8  0x00007f8997b73e3c in xine_play () at /usr/lib64/libxine.so.2
#9  0x00000000004058cd in _start ()
Comment 2 lasse.k.lindqvist 2015-08-27 18:06:01 UTC
Could you attach a file or send me one?
Comment 3 techniksocke 2015-10-08 10:59:02 UTC
Created attachment 94890 [details]
Sample impulse tracker file, that causes kaffeine to crash. Created with OpenMPT 1.25.02.00 for older Windows from a public domain midi file and a sound sample from OLPC.
Comment 4 techniksocke 2015-10-08 11:25:12 UTC
Created attachment 94892 [details]
Sample mod file. Created analogously to the it file (94890). Sounds strange (with other players that are not crashing). However, should be a valid mod file.
Comment 5 Mauro Carvalho Chehab 2016-06-06 01:15:58 UTC
Kaffeine 1.3.x and 2.0.x uses a different backend to play files. I tested the teleman_sonata_f.compat.mod on Kaffeine 2.0.1 and it sounded ok.

So, I'm closing this bug as FIXED.