View Issue Details

IDProjectCategoryView StatusLast Update
0001130libextractorgnunet-insertpublic2006-09-06 13:35
ReporterGemini Assigned ToChristian Grothoff  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0001130: gnunet-insert segfault when inserting big files ?
DescriptionAt first, I tried to insert
Additional Information--------------------------------------------------------------
OS : Linux
OS RELEASE : 2.6.12-24mdksmp
HARDWARE : x86_64
gcc : gcc-4.0.1 (GCC) 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)
GNU gmake : 3.80
autoconf : 2.59
automake : 1.7.9
libtool : 1.5.18
libextractor : v0.5.14
GNUnet : 0.7.0e
libgcrypt : 1.2.1
mysql : 4.1.12
pkg-config : 0.19
glib2 : 2.8.1
gtk2+ : 2.8.3
GMP : le
GNU gettext : 0.14.5
--------------------------------------------------------------



[gemini@Gemini ~]$ gdb --args gnunet-insert -a 1 -k Mandriva -k Linux -k Iso -k GNU -k Iso -P Mandriva /var/ftp/pub/iso/Mandriva/Mandriva-One-Club-Edition-CD.iso
GNU gdb 6.3-5mdk (Mandriva Linux release 2006.0)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-mandriva-linux-gnu"...Using host libthread_db library "/lib64/tls/libthread_db.so.1".

(gdb) run
Starting program: /usr/local/bin/gnunet-insert -a 1 -k Mandriva -k Linux -k Iso -k GNU -k Iso -P Mandriva /var/ftp/pub/iso/Mandriva/Mandriva-One-Club-Edition-CD.iso
[Thread debugging using libthread_db enabled]
[New Thread 46912518160288 (LWP 20482)]
[New Thread 1073875296 (LWP 20485)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1073875296 (LWP 20485)]
XRef::getDocInfo (this=0x0, obj=0x4001fe60) at Object.h:253
253 Object.h: Aucun fichier ou r
TagsNo tags attached.

Activities

Christian Grothoff

2006-09-05 16:09

manager   ~0002739

This is actually a crash in libextractor (and in the "older" PDF extractor;
it seems that the xpdf code fails to check for a NULL pointer...).
I've tried to fix it in SVN revision 3356/3357. The fix will be in the next libextractor version.

A simple workaround would be to delete lib/libextractor/libextractor_pdf.so.

Issue History

Date Modified Username Field Change
2006-08-20 13:29 Gemini New Issue
2006-09-05 16:09 Christian Grothoff Note Added: 0002739
2006-09-05 16:09 Christian Grothoff Status new => resolved
2006-09-05 16:09 Christian Grothoff Resolution open => fixed
2006-09-05 16:09 Christian Grothoff Assigned To => Christian Grothoff
2006-09-05 16:11 Christian Grothoff Project GNUnet 0.8.x => libextractor
2006-09-06 13:35 Christian Grothoff Status resolved => closed