?

Log in

No account? Create an account
Follow-up to logjam offline grep crash - LogJam [entries|archive|friends|userinfo]
LogJam

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Follow-up to logjam offline grep crash [Oct. 23rd, 2005|12:31 am]
LogJam

logjam

[substitute]
Thanks to evan for responding to my query about logjam crashing on offline grep. Going back to debian's version without sqlite, replicating the crash, and generating a gdb backtrace gets me the output below. This is on debian testing/unstable, logjam package version 4.5.1-4. I'd love to help on the sqlite version but as a programmer I'm a damn fine sysadmin. :-/

(gdb) bt
#0 0xb76df0f3 in strlen () from /lib/tls/libc.so.6
#1 0xb7726e4b in regexec () from /lib/tls/libc.so.6
#2 0x08054b94 in ?? ()
#3 0xbf82ed68 in ?? ()
#4 0x00000000 in ?? ()
#5 0x00000000 in ?? ()
#6 0x00000000 in ?? ()
#7 0x00000000 in ?? ()
#8 0x00000493 in ?? ()
#9 0x00000001 in ?? ()
#10 0xbf82ecf8 in ?? ()
#11 0x080c4580 in ?? ()
#12 0x00000002 in ?? ()
#13 0x080e18e8 in ?? ()
#14 0x00000000 in ?? ()
#15 0x00001064 in ?? ()
#16 0x00000493 in ?? ()
#17 0x08542e68 in ?? ()
#18 0xb787e728 in ?? () from /usr/lib/libgobject-2.0.so.0
#19 0x00000001 in ?? ()
#20 0x080c4580 in ?? ()
#21 0x08086c1d in _IO_stdin_used ()
#22 0x00000000 in ?? ()
---Type to continue, or q to quit---
#23 0x00000000 in ?? ()
#24 0x00000074 in ?? ()
#25 0x0809c8a3 in _IO_stdin_used ()
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000078 in ?? ()
#29 0x080824f6 in _IO_stdin_used ()
#30 0x00000000 in ?? ()
#31 0x00000000 in ?? ()
#32 0x00000069 in ?? ()
#33 0x08082501 in _IO_stdin_used ()
#34 0x00000000 in ?? ()
#35 0x00000000 in ?? ()
#36 0x00000065 in ?? ()
#37 0x08085ccb in _IO_stdin_used ()
#38 0x00000000 in ?? ()
#39 0x00000000 in ?? ()
#40 0x00000068 in ?? ()
#41 0x0808244c in _IO_stdin_used ()
#42 0x00000000 in ?? ()
#43 0x00000000 in ?? ()
#44 0x00000001 in ?? ()
#45 0x00000000 in ?? ()
---Type to continue, or q to quit---
#46 0x00000000 in ?? ()
#47 0x00000000 in ?? ()
#48 0x00000000 in ?? ()
#49 0x080c5710 in ?? ()
#50 0x0000008c in ?? ()
#51 0x0000008c in ?? ()
#52 0x010102c6 in ?? ()
#53 0x080e1910 in ?? ()
#54 0x00000000 in ?? ()
#55 0x00000000 in ?? ()
#56 0x00000018 in ?? ()
#57 0x00000000 in ?? ()
#58 0x080b5470 in ?? ()
#59 0x00000000 in ?? ()
#60 0xbf82ee1c in ?? ()
#61 0xbf82edc8 in ?? ()
#62 0x080551e0 in ?? ()
#63 0xbf82f03c in ?? ()
#64 0x080b5470 in ?? ()
#65 0x00000002 in ?? ()
#66 0xbf82f14c in ?? ()
#67 0xbf82f03c in ?? ()
#68 0xbf82fafc in ?? ()
---Type to continue, or q to quit---
#69 0xbf82f14c in ?? ()
#70 0xbf82ee7c in ?? ()
#71 0x08082b10 in _IO_stdin_used ()
#72 0xbf82eeac in ?? ()
#73 0xbf82eeb8 in ?? ()
#74 0x080555a1 in ?? ()
#75 0x00000002 in ?? ()
#76 0xbf82f148 in ?? ()
#77 0x00000005 in ?? ()
#78 0x080a2738 in ?? ()
#79 0x080c4528 in ?? ()
#80 0xbf82edfc in ?? ()
#81 0xbf82ee28 in ?? ()
#82 0x080832b3 in _IO_stdin_used ()
#83 0x08082615 in _IO_stdin_used ()
#84 0x00000001 in ?? ()
#85 0x00000000 in ?? ()
#86 0x00000001 in ?? ()
#87 0x080544d0 in ?? ()
#88 0x08082632 in _IO_stdin_used ()
#89 0x08082040 in _IO_stdin_used ()
#90 0x00000001 in ?? ()
#91 0x00000000 in ?? ()
---Type to continue, or q to quit---
#92 0x00000000 in ?? ()
#93 0x08054620 in ?? ()
#94 0x08082636 in _IO_stdin_used ()
#95 0x0808263b in _IO_stdin_used ()
#96 0x00000001 in ?? ()
#97 0x00000000 in ?? ()
#98 0x00000000 in ?? ()
#99 0x08054a10 in ?? ()
#100 0x08082653 in _IO_stdin_used ()
#101 0x08082060 in _IO_stdin_used ()
#102 0x00000001 in ?? ()
#103 0x00000000 in ?? ()
#104 0x00000000 in ?? ()
#105 0x08055750 in ?? ()
#106 0x0808265b in _IO_stdin_used ()
#107 0x08082084 in _IO_stdin_used ()
#108 0x00000001 in ?? ()
#109 0x00000000 in ?? ()
#110 0x00000000 in ?? ()
#111 0x080555d0 in ?? ()
#112 0x00000000 in ?? ()
#113 0x00000000 in ?? ()
#114 0x00000000 in ?? ()
---Type to continue, or q to quit---
#115 0x00000000 in ?? ()
#116 0x00000000 in ?? ()
#117 0x00000000 in ?? ()
#118 0x08085ccb in _IO_stdin_used ()
#119 0x00000000 in ?? ()
#120 0x00000000 in ?? ()
#121 0x00000068 in ?? ()
#122 0x0808244c in _IO_stdin_used ()
#123 0x00000000 in ?? ()
#124 0x00000000 in ?? ()
#125 0x00000001 in ?? ()
#126 0x00000000 in ?? ()
#127 0x00000000 in ?? ()
#128 0x00000000 in ?? ()
#129 0x00000000 in ?? ()
#130 0x080b5470 in ?? ()
#131 0x00000000 in ?? ()
#132 0xbf82eff4 in ?? ()
#133 0xbf82eee8 in ?? ()
#134 0x080551e0 in ?? ()
#135 0xbf82f03c in ?? ()
#136 0x080b5470 in ?? ()
#137 0x00000003 in ?? ()
---Type to continue, or q to quit---
#138 0xbf82f148 in ?? ()
#139 0xbf82f03c in ?? ()
#140 0xbf82faf4 in ?? ()
#141 0xbf82f148 in ?? ()
#142 0xbf82f03c in ?? ()
#143 0xbf82f144 in ?? ()
#144 0x080c4580 in ?? ()
#145 0xbf82f068 in ?? ()
#146 0x08055ce0 in ?? ()
#147 0x00000003 in ?? ()
#148 0xbf82f144 in ?? ()
#149 0x000000a0 in ?? ()
#150 0xb77a4ff4 in ?? () from /lib/tls/libc.so.6
#151 0xb77a6860 in __malloc_initialize_hook () from /lib/tls/libc.so.6
#152 0x0000f540 in ?? ()
#153 0xbf82ef38 in ?? ()
#154 0x08082e64 in _IO_stdin_used ()
#155 0x00000000 in ?? ()
#156 0x00000000 in ?? ()
#157 0x00000076 in ?? ()
#158 0x080826e4 in _IO_stdin_used ()
#159 0x00000000 in ?? ()
#160 0x00000000 in ?? ()
---Type to continue, or q to quit---
#161 0x00000071 in ?? ()
#162 0x080826ea in _IO_stdin_used ()
#163 0x00000001 in ?? ()
#164 0x00000000 in ?? ()
#165 0x00000075 in ?? ()
#166 0x08086cb6 in _IO_stdin_used ()
#167 0x00000001 in ?? ()
#168 0x00000000 in ?? ()
#169 0x00000070 in ?? ()
#170 0x080826f3 in _IO_stdin_used ()
#171 0x00000001 in ?? ()
#172 0x00000000 in ?? ()
#173 0x00000061 in ?? ()
#174 0x0809cb79 in _IO_stdin_used ()
#175 0x00000001 in ?? ()
#176 0x00000000 in ?? ()
#177 0x00000066 in ?? ()
#178 0x08082477 in _IO_stdin_used ()
#179 0x00000000 in ?? ()
#180 0x00000000 in ?? ()
#181 0x00000065 in ?? ()
#182 0x08085ccb in _IO_stdin_used ()
#183 0x00000000 in ?? ()
---Type to continue, or q to quit---
#184 0x00000000 in ?? ()
#185 0x00000068 in ?? ()
#186 0x0808244c in _IO_stdin_used ()
#187 0x00000000 in ?? ()
#188 0x00000000 in ?? ()
#189 0x00000001 in ?? ()
#190 0x00000000 in ?? ()
#191 0x00000000 in ?? ()
#192 0x00000000 in ?? ()
#193 0x00000000 in ?? ()
#194 0x08084810 in _IO_stdin_used ()
#195 0x08082120 in _IO_stdin_used ()
#196 0x00000001 in ?? ()
#197 0x00000000 in ?? ()
#198 0x00000001 in ?? ()
#199 0x080542c0 in ?? ()
#200 0x080826fa in _IO_stdin_used ()
#201 0x0808214c in _IO_stdin_used ()
#202 0x00000001 in ?? ()
#203 0x00000000 in ?? ()
#204 0x00000001 in ?? ()
#205 0x08053f50 in ?? ()
#206 0x08082702 in _IO_stdin_used ()
---Type to continue, or q to quit---
#207 0x08082707 in _IO_stdin_used ()
#208 0x00000001 in ?? ()
#209 0x00000000 in ?? ()
#210 0x00000001 in ?? ()
#211 0x080541a0 in ?? ()
#212 0x0808271f in _IO_stdin_used ()
#213 0x08082178 in _IO_stdin_used ()
#214 0x00000001 in ?? ()
#215 0x00000001 in ?? ()
#216 0x00000000 in ?? ()
#217 0x08055390 in ?? ()
#218 0x08086e61 in _IO_stdin_used ()
#219 0x08082727 in _IO_stdin_used ()
#220 0x00000000 in ?? ()
#221 0x00000000 in ?? ()
#222 0x00000000 in ?? ()
#223 0x08055230 in ?? ()
#224 0x00000000 in ?? ()
#225 0x00000000 in ?? ()
#226 0x00000000 in ?? ()
#227 0x00000000 in ?? ()
#228 0x00000000 in ?? ()
#229 0x00000000 in ?? ()
---Type to continue, or q to quit---
#230 0x080c4580 in ?? ()
#231 0x00000000 in ?? ()
#232 0x00000000 in ?? ()
#233 0x00000000 in ?? ()
#234 0x00000000 in ?? ()
#235 0xbf82ee1c in ?? ()
#236 0x00000000 in ?? ()
#237 0xbf82f068 in ?? ()
#238 0x00000001 in ?? ()
#239 0x00000004 in ?? ()
#240 0x080c4580 in ?? ()
#241 0xbf82f0c8 in ?? ()
#242 0x08053ac5 in ?? ()
#243 0x080c4580 in ?? ()
#244 0x00000004 in ?? ()
#245 0xbf82f144 in ?? ()
#246 0x08053a71 in ?? ()
#247 0xb7ca9b50 in acommon::to_lower () from /usr/lib/libaspell.so.15
Previous frame inner to this frame (corrupt stack?)
LinkReply

Comments:
From: keturn
2005-10-23 05:15 pm (UTC)
ugh. no debugging symbols and a corrupt stack.

to get the debugging symbols, you'll probably have to get the debian source package, comment out any "strip" commands in the rules file, and re-build it. You may also want to install 'lib*-dbg' packages for any of the libraries used by logjam and export LD_LIBRARY_PATH=/usr/lib/debug before running it.

as for the corrupt stack, you could try running it under valgrind instead of crashing it and then looking at the core file after the fact.

How do you reproduce this? Journal/Load Offline Entry/Select By Search? running valgrind on that here suggests it leaks plenty of memory, but it doesn't segfault with my data.
(Reply) (Thread)
[User Picture]From: substitute
2005-10-23 06:52 pm (UTC)
Oops, yeah, I'll recompile. I knew that!

Reproduce is 1) logjam offline sync 2) logjam offline grep "anything"
(Reply) (Parent) (Thread)