[Libburn] New error

Bryan Forbes bryan at reigndropsfall.net
Sun Aug 22 17:24:52 PDT 2004


I just upgraded my kernel to 2.6.8 and I'm getting a new error with
libburn.  If I run the devices test, I get this on the command line:

Initializing library...Success
Scanning for devices...devices: libburn/sg.c:247: sg_issue_command:
Assertion `err != -1' failed.
Killed

After recompiling with -O0, and running gdb on that test, I get this
backtrace (thread apply all bt):

(gdb) thread apply all bt

Thread 3 (Thread 16386 (LWP 18542)):
#0  0x0fe63ba0 in kill () from /lib/libc.so.6
#1  0x0ff978cc in pthread_kill () from /lib/libpthread.so.0
#2  0x0ff97d48 in raise () from /lib/libpthread.so.0
#3  0x0fe63988 in raise () from /lib/libc.so.6
#4  0x0fe650a0 in abort () from /lib/libc.so.6
#5  0x0fe5c634 in __assert_fail () from /lib/libc.so.6
#6  0x10009348 in sg_issue_command (d=0x10011980, c=0x30826670)
    at libburn/sg.c:247
#7  0x10009bc0 in spc_allow (d=0x10011980) at libburn/spc.c:121
#8  0x10008f2c in enumerate_common (fname=0x30826a70 "/dev/hdc")
    at libburn/sg.c:143
#9  0x10008c40 in ata_enumerate () at libburn/sg.c:70
#10 0x100025e8 in burn_drive_scan_sync (drives=0x100117c8,
n_drives=0x100117cc)
    at libburn/drive.c:296
#11 0x10000d6c in scan_worker_func (w=0x10022050) at libburn/async.c:104
#12 0x0ff94e40 in pthread_start_thread () from /lib/libpthread.so.0
#13 0x0ff94eb8 in pthread_start_thread_event ()
from /lib/libpthread.so.0
#14 0x0ff0f37c in clone () from /lib/libc.so.6

Thread 2 (Thread 32769 (LWP 18541)):
#0  0x0ff05548 in poll () from /lib/libc.so.6
#1  0x0ff94bd8 in __pthread_manager () from /lib/libpthread.so.0
#2  0x0ff94d68 in __pthread_manager_event () from /lib/libpthread.so.0
#3  0x0ff0f37c in clone () from /lib/libc.so.6

Thread 1 (Thread 16384 (LWP 18538)):
#0  0x10000e50 in burn_drive_scan (drives=0x100117c8,
n_drives=0x100117cc)
    at libburn/async.c:123
#1  0x10000a54 in main () at test/devices.c:32
#0  0x0fe63ba0 in kill () from /lib/libc.so.6

I couldn't find a thread apply full for the backtrace, so I did thread
apply all.  I hope this helps.

-- 
======================================================================
Bryan Forbes
bryan at reigndropsfall.net
http://www.reigndropsfall.net

"It does not take a majority to prevail, but rather an irate, tireless
minority keen to set brush fires in people's minds."
        - Samuel Adams, an architect of the Constitution

Key fingerprint = 3D7D B728 713A BB7B B8B1  5B61 3888 17E0 70CA 0F3D

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://freedesktop.org/pipermail/libburn/attachments/20040822/667f1f45/attachment.pgp


More information about the libburn mailing list