Ticket #158 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

musicplayer crashes

Reported by: mickey@… Owned by: buglog@…
Priority: high Milestone:
Component: openmoko-mediaplayer Version: unspecified
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

mickey@allanon:/local/pkg/openmoko/OM-2007$ gdb
GNU gdb 6.6-1mdv2007.1 (Mandriva Linux release 2007.1)
Copyright (C) 2006 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 "i586-mandriva-linux-gnu".
(gdb) file /usr/local/bin/beep-media-player
Reading symbols from /usr/local/bin/beep-media-player...done.
Using host libthread_db library "/lib/i686/libthread_db.so.1".
(gdb) run
Starting program: /usr/local/bin/beep-media-player
[Thread debugging using libthread_db enabled]
[New Thread -1221855008 (LWP 5775)]

(beep-media-player:5775): GLib-CRITICAL : g_strrstr: assertion `haystack !=
NULL' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221855008 (LWP 5775)]
0xb7377483 in strlen () from /lib/i686/libc.so.6
(gdb) bt
#0 0xb7377483 in strlen () from /lib/i686/libc.so.6
#1 0x0807a567 in init_image_dir () at mainwin.c:4170
#2 0x0807b651 in openmoko_mainwin_create () at mainwin.c:4197
#3 0x08079724 in main (argc=136180616, argv=0x6d2d7065) at main.c:1096

Change History

comment:1 Changed 6 years ago by lijiang@…

lijiang@debian-lj:~$ gdb
GNU gdb 6.3-debian
Copyright 2004 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-linux".
(gdb) file /musicplayer/bin/openmoko-media-player
Reading symbols from /musicplayer/bin/openmoko-media-player...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run
Starting program: /musicplayer/bin/openmoko-media-player
[Thread debugging using libthread_db enabled]
[New Thread 1084207712 (LWP 3328)]
[New Thread 1096711088 (LWP 3358)]
[New Thread 1106004912 (LWP 3359)]
[Thread 1106004912 (zombie) exited]
[Thread 1096711088 (LWP 3358) exited]
[New Thread 1096711088 (LWP 3364)]
[New Thread 1106004912 (LWP 3365)]
[Thread 1106004912 (zombie) exited]
[Thread 1096711088 (LWP 3364) exited]

Program exited normally.
(gdb)

As showing above, it run smoothly on my machine. My operating system is Debian
3.1 r3. The version of gtk on my machine is 2.6.4. The version of glib on my
machine is 2.6.4.

comment:2 Changed 6 years ago by lijiang@…

I know the cause to this problem . It takes time for me to reproduce the bug .
I will fix it soon .

comment:3 Changed 6 years ago by lijiang@…

  • Status changed from new to closed
  • Resolution set to fixed

I have fixed the bug. It may has other problems, but it can startup without
crashes .

Note: See TracTickets for help on using tickets.