?

Log in

No account? Create an account
Select by search segfault - LogJam [entries|archive|friends|userinfo]
LogJam

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Select by search segfault [Jun. 16th, 2004|12:30 pm]
LogJam

logjam

[czircon]
[Current Mood |crashy]

LogJam 4.4.0 segfaults when I try to use the "select by search" function for finding offline entries. It gives me this error:

(logjam:17546): GLib-CRITICAL **: file guniprop.c: line 906 (g_utf8_strdown): assertion `str != NULL' failed

I thought maybe it was glib's problem, so I upgraded to the latest version (2.4.2), but the error persists (only the line number has changed). Any suggestions?
LinkReply

Comments:
From: evan
2004-06-16 05:41 pm (UTC)
a backtrace would be helpful:
gdb logjam, type "run", make it crash, then type "bt".


i'm currently sleeping on a couch at a friend's house, so i'm not really in a position to track this down.
(Reply) (Thread)
[User Picture]From: czircon
2004-06-16 07:27 pm (UTC)
The full backtrace was too long to post in a comment; if this isn't enough, let me know.

There's no rush.

Starting program: /usr.old/usr/local/bin/logjam 

(logjam:17856): GLib-CRITICAL **: file guniprop.c: line 906 (g_utf8_strdown): assertion `str != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
0x4066eb51 in strstr () from /lib/libc.so.6
(gdb) bt
#0  0x4066eb51 in strstr () from /lib/libc.so.6
#1  0x08070754 in search_case_cb (str=0x0, data=0x8184e78) at offline.c:323
#2  0x080611eb in match_node (js=0x81c48f8, node=0x8649378, search=0xbfffdaa0)
    at journalstore.c:559
#3  0x08061295 in match_entry (js=0x81c48f8, nentry=0x86492b8, 
    search=0xbfffdaa0) at journalstore.c:573
#4  0x080612fe in search_month (js=0x81c48f8, year=1999, month=9, 
    search=0xbfffdaa0) at journalstore.c:589
#5  0x080613ff in journal_store_search (js=0x81c48f8, 
    search_cb=0x8070730 , search_data=0x8184e78, 
    cb_func=0x806fd20 , cb_data=0x81b2db0)
    at journalstore.c:627
#6  0x08070917 in find_cb (button=0x8130b78, oui=0x81b2db0) at offline.c:347
#7  0x403df293 in g_cclosure_marshal_VOID__VOID (closure=0x81b9370, 
    return_value=0x0, n_param_values=1, param_values=0xbfffde70, 
    invocation_hint=0xbfffdd58, marshal_data=0x0) at gmarshal.c:77
#8  0x403c69b9 in g_closure_invoke (closure=0x81b9370, return_value=0x0, 
    n_param_values=1, param_values=0xbfffde70, invocation_hint=0xbfffdd58)
    at gclosure.c:437
#9  0x403de8cb in signal_emit_unlocked_R (node=0x80f1d70, detail=0, 
    instance=0x8130b78, emission_return=0x0, instance_and_params=0xbfffde70)
    at gsignal.c:2436
#10 0x403dc5d6 in g_signal_emit_valist (instance=0x8130b78, signal_id=147, 
    detail=0, var_args=0xbfffdffc) at gsignal.c:2195
#11 0x403dca97 in g_signal_emit (instance=0x8130b78, signal_id=147, detail=0)
    at gsignal.c:2239
#12 0x4005f860 in gtk_button_clicked (button=0x8130b78) at gtkbutton.c:555
#13 0x4006064f in gtk_real_button_released (button=0x8130b78)
    at gtkbutton.c:1044
#14 0x403df293 in g_cclosure_marshal_VOID__VOID (closure=0x80f1c98, 
    return_value=0x0, n_param_values=1, param_values=0xbfffe3c0, 
    invocation_hint=0xbfffe2a8, marshal_data=0x40060610) at gmarshal.c:77
#15 0x403c7044 in g_type_class_meta_marshal (closure=0x80f1c98, 
    return_value=0x0, n_param_values=1, param_values=0xbfffe3c0, 
    invocation_hint=0xbfffe2a8, marshal_data=0x1a4) at gclosure.c:514
#16 0x403c69b9 in g_closure_invoke (closure=0x80f1c98, return_value=0x0, 
    n_param_values=1, param_values=0xbfffe3c0, invocation_hint=0xbfffe2a8)
    at gclosure.c:437
#17 0x403dd82c in signal_emit_unlocked_R (node=0x80f1ce0, detail=0, 
    instance=0x8130b78, emission_return=0x0, instance_and_params=0xbfffe3c0)
    at gsignal.c:2366
#18 0x403dc5d6 in g_signal_emit_valist (instance=0x8130b78, signal_id=146, 
    detail=0, var_args=0xbfffe54c) at gsignal.c:2195
#19 0x403dca97 in g_signal_emit (instance=0x8130b78, signal_id=146, detail=0)
    at gsignal.c:2239
#20 0x4005f7d0 in gtk_button_released (button=0x8130b78) at gtkbutton.c:547
#21 0x400604e3 in gtk_button_button_release (widget=0x8130b78, event=0x8199310)
    at gtkbutton.c:960
#22 0x400d9df5 in _gtk_marshal_BOOLEAN__BOXED (closure=0x80b7ae0, 
    return_value=0xbfffe7d0, n_param_values=2, param_values=0xbfffe910, 
    invocation_hint=0xbfffe7f8, marshal_data=0x400604b0) at gtkmarshalers.c:82
#23 0x403c7044 in g_type_class_meta_marshal (closure=0x80b7ae0, 
    return_value=0xbfffe7d0, n_param_values=2, param_values=0xbfffe910, 
    invocation_hint=0xbfffe7f8, marshal_data=0xb4) at gclosure.c:514
#24 0x403c69b9 in g_closure_invoke (closure=0x80b7ae0, 
    return_value=0xbfffe7d0, n_param_values=2, param_values=0xbfffe910, 
    invocation_hint=0xbfffe7f8) at gclosure.c:437
#25 0x403ddb1a in signal_emit_unlocked_R (node=0x80b7c78, detail=0, 
    instance=0x8130b78, emission_return=0xbfffe8b0, 
    instance_and_params=0xbfffe910) at gsignal.c:2474
#26 0x403dc38f in g_signal_emit_valist (instance=0x8130b78, signal_id=44, 
    detail=0, var_args=0xbfffeaa0) at gsignal.c:2205
#27 0x403dca97 in g_signal_emit (instance=0x8130b78, signal_id=44, detail=0)
    at gsignal.c:2239
(Reply) (Parent) (Thread)