Bug 215732 - segfault in evaluate_conjunctive_subquery
Summary: segfault in evaluate_conjunctive_subquery
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rhythmbox
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-15 14:31 UTC by Joe Orton
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-02-06 10:03:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joe Orton 2006-11-15 14:31:00 UTC
rhythmbox dumped core mid-song, the UI was hidden at the time.

Core was generated by `rhythmbox'.
Program terminated with signal 11, Segmentation fault.
#0  evaluate_conjunctive_subquery (dbtree=0xa6a020, query=0x10fc1b0, 
    base=<value optimized out>, max=2, entry=0xd283c0) at rhythmdb-tree.c:1361
1361            for (current = words; *current != NULL; current++) {
(gdb) info locals
relative_time = 13790416
current_time = {tv_sec = 16, tv_usec = 255271699347}
db = <value optimized out>
i = 0
__PRETTY_FUNCTION__ = "evaluate_conjunctive_subquery"
(gdb) where
#0  evaluate_conjunctive_subquery (dbtree=0xa6a020, query=0x10fc1b0, 
    base=<value optimized out>, max=2, entry=0xd283c0) at rhythmdb-tree.c:1361
#1  0x0000000000496d22 in do_conjunction (entry=0xd283c0, 
    unused=<value optimized out>, data=0xd26cd0) at rhythmdb-tree.c:1515
#2  0x0000003b6f62054e in IA__g_hash_table_foreach (hash_table=0xcd7b00, 
    func=0x496cf0 <do_conjunction>, user_data=0xd26cd0) at ghash.c:662
#3  0x0000003b6f62054e in IA__g_hash_table_foreach (hash_table=0xcd7ac0, 
    func=0x495f40 <conjunctive_query_songs>, user_data=0xd26cd0) at ghash.c:662
#4  0x0000003b6f62054e in IA__g_hash_table_foreach (hash_table=0xcd7a80, 
    func=0x495f60 <conjunctive_query_albums>, user_data=0xd26cd0) at ghash.c:662
#5  0x0000003b6f62054e in IA__g_hash_table_foreach (hash_table=0xa48540, 
    func=0x496060 <conjunctive_query_artists>, user_data=0xd26cd0) at ghash.c:662
#6  0x0000000000496401 in rhythmdb_tree_do_full_query (adb=<value optimized out>, 
    query=<value optimized out>, results=<value optimized out>, cancel=0x10fbb70)
    at rhythmdb-tree.c:1706
#7  0x0000000000487b31 in rhythmdb_query_internal (data=0x10fbb50) at
rhythmdb.c:2928
#8  0x0000000000487d5d in query_thread_main (data=0x10fbb50) at rhythmdb.c:2951
#9  0x0000003b6f648f24 in g_thread_create_proxy (data=0x112e850) at gthread.c:553
#10 0x000000332ae06305 in start_thread () from /lib64/libpthread.so.0
#11 0x000000332a2cd62d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()
(gdb) 

all other threads than this one are blocked in poll/pthread_cond_wait; can
attach full backtrace if necessary.

Comment 1 Joe Orton 2006-11-15 14:31:52 UTC
This is rhythmbox-0.9.5-4.fc6.x86_64, up-to-date FC6 system.

Comment 2 Bastien Nocera 2007-01-30 15:46:24 UTC
Could you please check whether the same thing occurs with Rhythmbox 0.9.6 that
was uploaded to the FC6 updates recently?

Comment 3 Joe Orton 2007-02-06 10:03:40 UTC
I never had a reliable repro case for this; but before the 0.9.6 update it was
crashing once a day at least, and it's never crashed since, so that worksforme.

Thanks for pushing the update!


Note You need to log in before you can comment on or make changes to this bug.