Bug#671785: segfaults when running reportbug

2012-07-23 Thread Gabriele Giacone
Reopening.

wheezy VM
kfreebsd-i386 9.0-1-amd64 9.0-4
python2.7 2.7.3~rc2-2.1
eglibc 2.13-33

Attached backtrace.
# gdb --args python /usr/bin/reportbug
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as i486-kfreebsd-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/python...Reading symbols from 
/usr/lib/debug/usr/bin/python2.7...done.
done.
(gdb) r
Starting program: /usr/bin/python /usr/bin/reportbug
Welcome to reportbug! Since it looks like this is the first time you have used 
reportbug, we are configuring
its behavior. These settings will be saved to the file /root/.reportbugrc, 
which you will be free to edit
further.
Please choose the default operating mode for reportbug.

1 noviceOffer simple prompts, bypassing technical questions.

2 standard  Offer more extensive prompts, including asking about things that a 
moderately sophisticated user
would be expected to know about Debian.

3 advanced  Like standard, but assumes you know a bit more about Debian, 
including incoming.

4 expertBypass most handholding measures and preliminary triage routines. 
This mode should not be used by
people unfamiliar with Debian's policies and operating procedures.

Select mode: [novice] 
Program received signal SIGSEGV, Segmentation fault.
0x282cc21c in __pthread_unlock () from /lib/i386-kfreebsd-gnu/libpthread.so.0
(gdb) bt
#0  0x282cc21c in __pthread_unlock () from 
/lib/i386-kfreebsd-gnu/libpthread.so.0
#1  0x282c9883 in pthread_mutex_unlock () from 
/lib/i386-kfreebsd-gnu/libpthread.so.0
#2  0x28cc2350 in g_mutex_unlock (mutex=0x8984d18) at 
/build/buildd-glib2.0_2.32.3-1-kfreebsd-i386-amQLKl/glib2.0-2.32.3/./glib/gthread-posix.c:227
#3  0x2947e553 in gdk_threads_impl_unlock () at 
/build/buildd-gtk+2.0_2.24.10-1-kfreebsd-i386-Gawxbr/gtk+2.0-2.24.10/gdk/gdk.c:437
#4  gdk_threads_impl_unlock () at 
/build/buildd-gtk+2.0_2.24.10-1-kfreebsd-i386-Gawxbr/gtk+2.0-2.24.10/gdk/gdk.c:434
#5  0x29133883 in IA__gtk_main () at 
/build/buildd-gtk+2.0_2.24.10-1-kfreebsd-i386-Gawxbr/gtk+2.0-2.24.10/gtk/gtkmain.c:1255
#6  0x28f043e0 in _loop () at 
/build/buildd-pygtk_2.24.0-3-kfreebsd-i386-HOMPY0/pygtk-2.24.0/gtk/gtk.override:126
#7  0x28b629b1 in readline_until_enter_or_signal (signal=synthetic pointer, 
prompt=0x89c44e4 Select mode: [novice] ) at 
/build/buildd-python2.7_2.7.3~rc2-2.1-kfreebsd-i386-GXmiBd/python2.7-2.7.3~rc2/Modules/readline.c:963
#8  call_readline (sys_stdin=0x28675580, sys_stdout=0x28675620, 
prompt=0x89c44e4 Select mode: [novice] ) at 
/build/buildd-python2.7_2.7.3~rc2-2.1-kfreebsd-i386-GXmiBd/python2.7-2.7.3~rc2/Modules/readline.c:1055
#9  0x08062b5d in PyOS_Readline (sys_stdin=0x28675580, sys_stdout=0x28675620, 
prompt=0x89c44e4 Select mode: [novice] ) at ../Parser/myreadline.c:211
#10 0x08105386 in builtin_raw_input (self=0x0, args=('Select mode: [novice] 
',)) at ../Python/bltinmodule.c:2046
#11 0x0810f844 in call_function (oparg=optimized out, pp_stack=0xbfbfde14) at 
../Python/ceval.c:4021
#12 PyEval_EvalFrameEx (f=Frame 0x8a6034c, for file 
/usr/lib/pymodules/python2.7/reportbug/ui/text_ui.py, line 149, in 
our_raw_input (prompt='Select mode: [novice] ', completions=['novice', 
'standard', 'advanced', 'expert'], completer=instancemethod at remote 
0x849ed9c, istty=True), throwflag=0) at ../Python/ceval.c:2666
#13 0x08111730 in PyEval_EvalCodeEx (co=0x8761848, globals={'ewrite': function 
at remote 0x87aa924, 'hiermatch': module at remote 0x87ad104, 'show_report': 
function at remote 0x87aad14, 'ISATTY': True, 'locale': module at remote 
0x28739adc, 'handle_bts_query': function at remote 0x87aad4c, 'getpass': 
module at remote 0x8388e3c, 'long_message': function at remote 0x87aab1c, 
'NoReport': type at remote 0x85326fc, 'log_message': function at remote 
0x87aa924, 'get_filename': function at remote 0x87aac34, 'select_options': 
function at remote 0x87c, 'launch_browser': function at remote 
0x8392e9c, 'NoPackage': type at remote 0x85322e4, 'our_raw_input': function 
at remote 0x87aaa04, 'FilenameCompleter': function at remote 0x87aabfc, 
'rows': 31, 'proc_hierarchy': function at remote 0x87aadbc, 'errno': module 
at remote 0x2867ccbc, '_launch_mbox_reader': function at remote 0x87aa9cc, 
'charset': 'UTF-8', 'system': function at remote 0x87aa95c, 'can_input': 
function at remote 0x87aaed4, '__package__': 'reportbug.ui', 're': module at 
rem...(truncated), locals=0x0, args=0x8a5f2c8, argcount=2, kws=0x8a5f2d0, 
kwcount=0, defs=0x87aba38, defcount=3, closure=0x0) at ../Python/ceval.c:3253
#14 0x0810f37b in fast_function (nk=0, na=2, n=optimized out, 
pp_stack=0xbfbfdf74, func=function at remote 

Bug#671785: segfaults when running reportbug

2012-05-16 Thread Robert Millan
2012/5/13 Steven Chamberlain ste...@pyro.eu.org:
 I couldn't reproduce this yet on either of two boxes:

 production server, up-to-date wheezy:
 kfreebsd-amd64 9.0-1-amd64 9.0-3
 python2.7 2.7.3~rc2-2.1
 eglibc 2.13-32

 development VM, loosely following wheezy + some sid/experimental:
 kfreebsd-i386 8.3-1-686 8.3-2
 python2.7 2.7.3~rc2-2.1
 eglibc 2.13-32+kkh901

I hit it with up-to-date (at the time) sid chroot, hosted on kfreebsd 8.1.

Is someone other than me able to reproduce this?

-- 
Robert Millan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671785: segfaults when running reportbug

2012-05-13 Thread Steven Chamberlain
Hi,

On 06/05/12 22:56, Robert Millan wrote:
 Subject: Bug#671785: segfaults when running reportbug

Wondered why there hadn't been many bugs lately ;)


 As it appeared recently in sid it's probably
 related to an upgrade of some other package.

I couldn't reproduce this yet on either of two boxes:

production server, up-to-date wheezy:
kfreebsd-amd64 9.0-1-amd64 9.0-3
python2.7 2.7.3~rc2-2.1
eglibc 2.13-32

development VM, loosely following wheezy + some sid/experimental:
kfreebsd-i386 8.3-1-686 8.3-2
python2.7 2.7.3~rc2-2.1
eglibc 2.13-32+kkh901

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671785: segfaults when running reportbug

2012-05-06 Thread Robert Millan
Package: python2.7
Version: 2.7.3~rc2-2.1
Severity: grave
User: debian-...@lists.debian.org
Usertags: kfreebsd

$ LD_LIBRARY_PATH=/usr/lib/debug:/usr/lib/debug/lib/x86_64-kfreebsd-gnu gdb 
--args python /usr/bin/reportbug
[...]
(gdb) r
Starting program: /usr/bin/python /usr/bin/reportbug
Please enter the name of the package in which you have found a problem, or type 
'other' to report a more general problem.
 
Program received signal SIGSEGV, Segmentation fault.
__pthread_unlock (lock=0x13cd698) at spinlock.c:228
228 spinlock.c: El fitxer o directori no existeix.
(gdb) bt
#0  __pthread_unlock (lock=0x13cd698) at spinlock.c:228
#1  0x000800a85de9 in *__GI___pthread_mutex_unlock (mutex=optimized out) 
at mutex.c:190
#2  0x0008036d7c81 in g_mutex_unlock (mutex=optimized out)
at 
/build/buildd-glib2.0_2.32.2-1-kfreebsd-amd64-QJQ4PI/glib2.0-2.32.2/./glib/gthread-posix.c:227
#3  0x0008047a4a1f in IA__gtk_main () at 
/build/buildd-gtk+2.0_2.24.10-1-kfreebsd-amd64-ErjCNI/gtk+2.0-2.24.10/gtk/gtkmain.c:1255
#4  0x000804359c24 in ?? () from 
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/_gtk.so
#5  0x0008027625d1 in readline_until_enter_or_signal (signal=synthetic 
pointer, prompt=optimized out)
at 
/home/rmh/hacking/kfreebsd/python/python2.7-2.7.3~rc2/Modules/readline.c:963
#6  call_readline (sys_stdin=optimized out, sys_stdout=optimized out, 
prompt=optimized out)
at 
/home/rmh/hacking/kfreebsd/python/python2.7-2.7.3~rc2/Modules/readline.c:1055
#7  0x0041faa2 in PyOS_Readline (sys_stdin=0x801ebea00, 
sys_stdout=0x801ebeae0, prompt=0xf9b144  ) at ../Parser/myreadline.c:211
#8  0x004c9595 in builtin_raw_input (self=optimized out, 
args=optimized out) at ../Python/bltinmodule.c:2046
#9  0x004d3d2d in call_function (oparg=optimized out, 
pp_stack=0x7fffd2c0) at ../Python/ceval.c:4021
#10 PyEval_EvalFrameEx (f=optimized out, throwflag=optimized out) at 
../Python/ceval.c:2666
#11 0x004d58d6 in PyEval_EvalCodeEx (co=optimized out, 
globals=optimized out, locals=optimized out, args=optimized out, 
argcount=3, kws=
0x142dd88, kwcount=0, defs=0xf96888, defcount=3, closure=0x0) at 
../Python/ceval.c:3253
[...]

Also reproducible with 2.7.2-11.  As it appeared recently in sid it's probably
related to an upgrade of some other package.

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 8.1-1-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org