Log in

No account? Create an account
LogJam [entries|archive|friends|userinfo]

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

errors. [Aug. 26th, 2006|03:26 pm]
i'm running gentoo with kde 3.4, and i had logjam working up until last week or so, when the program simply won't load. i tried unmerging it and then re-merging it (ah, the windows solution), and that didn't work. i already tried repairing dependencies, and it didn't find anything to repair. anyway, logjam won't load when accessed from either the programs menu or from a shell. it gives me the following:

user@Machine ~ $ logjam

(logjam:20345): Gtk-CRITICAL **: gtk_accel_label_new: assertion `string != NULL' failed

(logjam:20345): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed

(logjam:20345): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed

(logjam:20345): Gtk-CRITICAL **: gtk_accel_label_set_accel_widget: assertion `GTK_IS_ACCEL_LABEL (accel_label)' failed
Segmentation fault

what does this mean, and how do i repair it? gtk seems to be working fine since i'm running Gaim right now with no problem, and The Gimp still loads.

From: mirrorbox
2006-08-26 07:42 pm (UTC)
You probably need to compile it with debug symbols (i.e. pass '-g' to CFLAGS and remove '-fomg-optimized', etc), and then provide a backtrace by running gdb loglam->r->bt.
(Reply) (Thread)
[User Picture]From: telecon
2006-08-26 07:47 pm (UTC)
From what I was able to find out, it's an issue with wxGTK, see if you can grab the ~ version and that might fix it.
(Reply) (Thread)
From: evan
2006-08-27 11:21 am (UTC)
Try moving your ~/.logjam to a different place to see if that's related. If it is, save that .logjam so we can figure out what went wrong.

You might be able to get a backtrace:
1) "gdb /path/to/logjam"
2) "run"
3) [hit enter a few times if it needs that]
4) once it crashes, "bt" and if that includes function names (like lj_init or something) send it my way
(Reply) (Thread)
From: moonjumping
2006-08-27 02:32 pm (UTC)
...ok, moved .logjam, and that alone fixed it. how odd... thanks for the help!
(Reply) (Parent) (Thread)
From: moonjumping
2006-08-27 05:02 pm (UTC)
....okay, disregard my last comment, because if .logjam exists where it should, it won't load, but if i delete it, it loads fine.

gdb isn't recognized by my Konsole. "command not found"

could you give me better details on what i should do? and what is a backtrace?
(Reply) (Parent) (Thread)
From: evan
2006-08-28 01:04 am (UTC)
Hm, you might not have gdb installed. A backtrace analyzes a crash and reports where exactly in the code the crash occurred.

I guess there's some error in the configuration file that is confusing logjam, though from those error messages I can't imagine what.
(Reply) (Parent) (Thread)
[User Picture]From: shadowpillar
2006-08-27 12:35 pm (UTC)
It could be the GTK theme you're using.

did you recently change themes?

I know I've had problems because of a theme. worth a shot.
(Reply) (Thread)
From: moonjumping
2006-08-27 02:16 pm (UTC)
gtk theme? i don't think i'm using one. do you mean changing the colors in KDE? because i did do that recently, but it still worked after that... i specifically remember restarting X in order to get gaim and logjam to properly display my new blue-tinted menus instead of green ones...
(Reply) (Parent) (Thread)
[User Picture]From: troworld
2006-08-28 03:12 pm (UTC)
I've had weird problems when overoptimizing gtk+. Do a standard -O2 -pipe -march=yourarch and nothing more.
(Reply) (Thread)