[Flac-dev] flac-1.0.3_beta released

Josh Coalson
Fri, 10 Sep 2004 16:45:34 -0000

Thanks, I see the problem.  I'll try a fix tonight.

Josh

--- Daisuke Shimamura <Daisuke_Shimamura@nifty.com>
wrote:
> libxmms-flac-1.0.3 terminates xmms with a segmentation violation at
> quitting time.
> It happens only when quitting with no playing a flac file.
> For example, quit after playing only mp3 files, just quit after
> starting xmms.
> But it doesn't happen after playing flac files.
> I tried flac-1.0.2 plugin and a case of no flac plugin. This case was
> OK.
>
> I attach the stack trace when terminating with SEGV. This is a just
> quit
> after starting.
>
> --------------------------------------
> $ gdb xmms
> GNU gdb Red Hat Linux (5.1-1)
> Copyright 2001 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and
> you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty"
for
> details.
> This GDB was configured as "i386-redhat-linux"...
> (gdb) run
> Starting program: /usr/bin/xmms
> [New Thread 1024 (LWP 26534)]
> [New Thread 2049 (LWP 26535)]
> [New Thread 1026 (LWP 26536)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 26534)]
> __pthread_mutex_lock (mutex=0x66910) at mutex.c:99
> 99	mutex.c: No such file or directory.
> 	in mutex.c
> (gdb) where
> #0  __pthread_mutex_lock (mutex=0x66910) at mutex.c:99
> #1  0x403b0fe8 in __libc_free (mem=0x40464e90) at malloc.c:3152
> #2  0x4120b175 in FLAC__bitbuffer_free (bb=0x81c1bd8) at
> bitbuffer.c:340
> #3  0x4120accb in FLAC__bitbuffer_delete (bb=0x81c1bd8) at
> bitbuffer.c:261
> #4  0x4121fa3b in FLAC__stream_decoder_delete (decoder=0x81c1ba8)
>     at stream_decoder.c:193
> #5  0x4121cc69 in FLAC__seekable_stream_decoder_delete
> (decoder=0x81c1b88)
>     at seekable_stream_decoder.c:158
> #6  0x4120f759 in FLAC__file_decoder_delete (decoder=0x81c1b48)
>     at file_decoder.c:140
> #7  0x41140f26 in safe_decoder_delete_ (decoder=0x81c1b48) at
> plugin.c:393
> #8  0x41140659 in FLAC_XMMS__cleanup () at plugin.c:216
> #9  0x0805f123 in cleanup_plugins () at pluginenum.c:417
> #10 0x0806be6c in mainwin_quit_cb () at main.c:904
> #11 0x08064a77 in pbutton_button_release_cb (widget=0x818c908,
>     event=0x820a870, button=0x818d280) at pbutton.c:71
> #12 0x0806466b in handle_release_cb (wlist=0x81297f8,
> widget=0x818c908,
>     event=0x820a870) at widget.c:90
> #13 0x0806c5f4 in mainwin_release (widget=0x818c908, event=0x820a870,
>
>     callback_data=0x0) at main.c:1146
> #14 0x40236aec in gtk_marshal_BOOL__POINTER () from
> /usr/lib/libgtk-1.2.so.0
> #15 0x4026a436 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
> #16 0x4026976d in gtk_signal_real_emit () from
> /usr/lib/libgtk-1.2.so.0
> #17 0x40267525 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
> #18 0x402a1b89 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
> #19 0x40236a45 in gtk_propagate_event () from
> /usr/lib/libgtk-1.2.so.0
> #20 0x40235a6f in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
> #21 0x402e6d7f in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
> #22 0x4031d773 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
> #23 0x4031dd39 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
> #24 0x4031deec in g_main_run () from /usr/lib/libglib-1.2.so.0
> #25 0x40235333 in gtk_main () from /usr/lib/libgtk-1.2.so.0
> #26 0x08072dc9 in main (argc=1, argv=0xbffff9f4) at main.c:3516
> #27 0x4034c627 in __libc_start_main (main=0x80729a4 , argc=1,
>     ubp_av=0xbffff9f4, init=0x80556b8 <_init>, fini=0x8084c50
> <_fini>,
>     rtld_fini=0x4000dcc4 <_dl_fini>, stack_end=0xbffff9ec)
>     at ../sysdeps/generic/libc-start.c:129
> (gdb)
>
> --
> Daisuke Shimamura
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -
> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
>
> _______________________________________________
> Flac-dev mailing list
> Flac-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flac-dev


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup