Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#26483 - [rawstudio] segfault at start

Attached to Project: Community Packages
Opened by Hervé (herve) - Monday, 17 October 2011, 07:25 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 14 December 2011, 09:44 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Before reporting the issue to upstream, I'd like to verify it's not a packaging or uncompatible dependencies versions.

Yet I am no master of strace reading so I submit the output for review.

Additional info:
* 2.0-3

How to reproduce it:

Tried with downloaded rawstudio package then recompile it, both produce the same output:

$ rawstudio
Segmentation fault
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 14 December 2011, 09:44 GMT
Reason for closing:  Upstream
Additional comments about closing:  reported to upstream and works for me
Comment by Jelle van der Waa (jelly) - Monday, 17 October 2011, 07:57 GMT
Works here
Comment by Alexander F. Rødseth (xyproto) - Monday, 17 October 2011, 08:21 GMT
Works here as well (x86_64).

What happens if you move the ~/.config directory to ~/.config.backup, just temporarily?
Also, what happens if you run "gdb rawstudio" then type "r" and then "backtrace full"?
Also, are you out of disk space in /, /home or /tmp?
Also, are you out of memory? (check with htop, for example)
Also, does it work if you reinstall the package?

Thank you.
Comment by Hervé (herve) - Monday, 17 October 2011, 10:03 GMT
If you say it works for you, then I guess it's not a packaging issue and I'll report upstream.

I have plenty of RAM and disk space, and I tried removing any old configuration but it still happens. I also reinstalled it several times with no difference.

Thanks for the quick gdb tutorial. I have rebuilt with debug symbols and I'll submit the backtrace upstream.

If you're curious, here is the backtrace:

Reading symbols from /usr/bin/rawstudio...done.
(gdb) r
Starting program: /usr/bin/rawstudio
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe5bff700 (LWP 3486)]
[New Thread 0x7fffe53fe700 (LWP 3487)]
[New Thread 0x7fffe3fff700 (LWP 3488)]
[New Thread 0x7fffe2fff700 (LWP 3489)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6904ac5 in g_type_name () from /usr/lib/libgobject-2.0.so.0
(gdb) backtrace full
#0 0x00007ffff6904ac5 in g_type_name () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#1 0x000000000042873c in filetype_changed (user_data=0x7ffff045ef00, active=<optimized out>) at rs-batch.c:839
queue = 0x7ffff045ef00
filetype = 18446744073447076080
#2 make_batch_options (queue=0x7ffff045ef00) at rs-batch.c:1088
chooser = <optimized out>
filetype_confbox = <optimized out>
active = <optimized out>
hbox = <optimized out>
vbox = 0x7ffff06e0de0
filename = <optimized out>
size_button = <optimized out>
edit_settings = <optimized out>
#3 make_batchbox (queue=0x7ffff045ef00) at rs-batch.c:1115
batchbox = 0x7ffff06e0cc0
#4 0x0000000000420361 in gui_init (argc=1, argv=0x7fffffffe098, rs=0x7ffff052ae00) at gtk-interface.c:1452
vbox = <optimized out>
pane = <optimized out>
tools = 0x7ffff0666010
batchbox = <optimized out>
menubar = 0x7ffff0400000
dir_selector_vbox = <optimized out>
checkbox_recursive = <optimized out>
dir_selector_separator = <optimized out>
dir_selector = <optimized out>
library_vbox = <optimized out>
window_width = 0
toolbox_width = 0
dashed_bg = {pixel = 0, red = 0, green = 0, blue = 0}
dashed_fg = {pixel = 0, red = 0, green = 65535, blue = 0}
grid_bg = {pixel = 0, red = 0, green = 0, blue = 0}
grid_fg = {pixel = 0, red = 32767, green = 32767, blue = 32767}
bgcolor = {pixel = 0, red = 0, green = 0, blue = 0}
tmpcolor = {pixel = 4294959248, red = 29298, green = 40863, blue = 53199}
hbox = 0x7ffff046e120
valuefield = {0x7ffff046b900, 0x7ffff046bde0, 0x7ffff046beb0}
open_box = <optimized out>
library_expander = <optimized out>
directory_expander = <optimized out>
show_iconbox = <optimized out>
---Type <return> to continue, or q <return> to quit---
show_toolbox = <optimized out>
factory = <optimized out>
library = <optimized out>
#5 0x0000000000414c6d in main (argc=1, argv=0x7fffffffe098) at application.c:751
rs = 0x7ffff052ae00
do_test = 0
use_system_theme = 0
debug = 0x0
error = 0x0
option_context = <optimized out>
option_entries = {{long_name = 0x44c5ed "debug", short_name = 100 'd', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffdf90,
description = 0x44c5f3 "Debug flags to use", arg_description = 0x44c606 "flags"}, {long_name = 0x44c60c "do-tests", short_name = 116 't',
flags = 1, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffdfa8, description = 0x44c615 "Do internal tests", arg_description = 0x0}, {
long_name = 0x0, short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}
client = <optimized out>
(gdb)
Comment by Alexander F. Rødseth (xyproto) - Monday, 17 October 2011, 10:14 GMT
Nice catch! If you compile with the -O0 flag you might also get the <optimized out> values, I think.
I also see that /usr/lib/libgobject-2.0.so.0 is being used (owned by glib2).
Do you have glib2 2.30.0-1 installed? Just to be sure, it doesn't help reinstalling glib2?
Thanks again.
Comment by Jelle van der Waa (jelly) - Monday, 17 October 2011, 10:23 GMT
Posting pacman -Q glib2 gtk2 would help a lot :)
Comment by Hervé (herve) - Monday, 17 October 2011, 11:00 GMT
Reported upstream: http://bugzilla.rawstudio.org/show_bug.cgi?id=525

$ pacman -Q glib2 gtk2
glib2 2.30.0-1
gtk2 2.24.6-2

I reinstalled glib2 but it didn't change anything.
Comment by Hervé (herve) - Monday, 17 October 2011, 11:04 GMT
Forgot about the output with "-O0": http://bpaste.net/show/19475/
Comment by Alexander F. Rødseth (xyproto) - Monday, 17 October 2011, 11:46 GMT
Great. Guess we'll just have to wait for a fix from upstream, then.
Comment by Jelle van der Waa (jelly) - Tuesday, 01 November 2011, 16:51 GMT
Did you report it upstream?
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 01 November 2011, 17:11 GMT
jelly, are you trolling? ;)
Comment by Hervé (herve) - Tuesday, 01 November 2011, 17:13 GMT
Sure, see the upper comment: http://bugzilla.rawstudio.org/show_bug.cgi?id=525

But I never got an answer.
Comment by Jelle van der Waa (jelly) - Tuesday, 01 November 2011, 17:25 GMT
not just not reading properly

Loading...