Hi Vincent

This is segfault is generated when i try create romfs image from non
exist directory (When directory dupa not exist) . Genromfs should
generate error message not segfault. This is example backtrace when I
try create romfs image from nonexisting directory dupa.


[EMAIL PROTECTED]:~/srm/sbb_base$ gdb --args genromfs -v -V dupa -d ./romfs -f 
dupa.romfs
GNU gdb 6.6-debian
Copyright (C) 2006 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 "i486-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) r
Starting program: /usr/bin/genromfs -v -V dupa -d ./romfs -f dupa.romfs
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0xb7e96805 in readdir () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0xb7e96805 in readdir () from /lib/tls/i686/cmov/libc.so.6
#1  0x08049762 in ?? ()
#2  0x00000000 in ?? ()

This bug is also generated on 64-bit AMD64.

Regards
Lucjan

-- 
[apport] genromfs crashed with SIGSEGV in readdir()
https://bugs.launchpad.net/bugs/121287
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to